#pragma once
inline std::string ToUTF8(const wchar_t* wideStr)
{
    std::wstring_convert<std::codecvt_utf8<wchar_t>> conv;
    return conv.to_bytes(wideStr);
}
inline std::wstring ToUnicode(std::string utf8)
{
    std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t> ucs2conv;
    return ucs2conv.from_bytes(utf8);
}